<?php
/**
 * The Template for displaying all single posts in archive.
 * Créer le 11-10-2014
 *
 */

get_header(); 
?>
<div class="content" role="main">

        <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>
                <article <?php if( !empty( $rv['review'] ) ) echo $rv['review']; post_class('post-listing'); ?>>
                    <div class="post-inner">
                        
                        <header class="entry-header">
                            <h1 class="name post-title entry-title entry-title"><?php the_title(); ?></h1>
                        </header>
                        
                        <div class="entry-content">
                            <?php the_content(); ?>
                        </div>


                   <br /><br />
                        <?php
                                echo wpspo_listing_defis(get_the_ID());
                        ?>

                    </div>
                </article>

            <?php endwhile; ?>
           
           
        <?php endif; ?>
    
</div><!-- #content -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>